package net.oschina.app.bean;

/**
 * Created by wei03 on 2017/1/19.
 */

public class TweetPubBean {

    /**
     * code : 1
     * message : SUCCESS
     * notice : {"fans":1,"letter":0,"like":0,"mention":0,"review":0}
     * result : {"appClient":0,"author":{"id":3226664,"name":"ocq_elf","portrait":"https://static.oschina.net/uploads/user/1613/3226664_50.jpeg?t=1484625198000","relation":0},"commentCount":0,"content":"\"ddd\" ","href":"https://my.oschina.net/u/3226664/tweet/11924459","id":11924459,"likeCount":0,"liked":false,"pubDate":"2017-01-19 10:41:58","statistics":{"comment":0,"like":0,"transmit":0,"view":0}}
     * time : 2017-01-19 10:41:59
     */

    private int code;
    private String message;
    private NoticeBean notice;
    private ResultBean result;
    private String time;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public NoticeBean getNotice() {
        return notice;
    }

    public void setNotice(NoticeBean notice) {
        this.notice = notice;
    }

    public ResultBean getResult() {
        return result;
    }

    public void setResult(ResultBean result) {
        this.result = result;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public static class NoticeBean {
        /**
         * fans : 1
         * letter : 0
         * like : 0
         * mention : 0
         * review : 0
         */

        private int fans;
        private int letter;
        private int like;
        private int mention;
        private int review;

        public int getFans() {
            return fans;
        }

        public void setFans(int fans) {
            this.fans = fans;
        }

        public int getLetter() {
            return letter;
        }

        public void setLetter(int letter) {
            this.letter = letter;
        }

        public int getLike() {
            return like;
        }

        public void setLike(int like) {
            this.like = like;
        }

        public int getMention() {
            return mention;
        }

        public void setMention(int mention) {
            this.mention = mention;
        }

        public int getReview() {
            return review;
        }

        public void setReview(int review) {
            this.review = review;
        }
    }

    public static class ResultBean {
        /**
         * appClient : 0
         * author : {"id":3226664,"name":"ocq_elf","portrait":"https://static.oschina.net/uploads/user/1613/3226664_50.jpeg?t=1484625198000","relation":0}
         * commentCount : 0
         * content : "ddd"
         * href : https://my.oschina.net/u/3226664/tweet/11924459
         * id : 11924459
         * likeCount : 0
         * liked : false
         * pubDate : 2017-01-19 10:41:58
         * statistics : {"comment":0,"like":0,"transmit":0,"view":0}
         */

        private int appClient;
        private AuthorBean author;
        private int commentCount;
        private String content;
        private String href;
        private int id;
        private int likeCount;
        private boolean liked;
        private String pubDate;
        private StatisticsBean statistics;

        public int getAppClient() {
            return appClient;
        }

        public void setAppClient(int appClient) {
            this.appClient = appClient;
        }

        public AuthorBean getAuthor() {
            return author;
        }

        public void setAuthor(AuthorBean author) {
            this.author = author;
        }

        public int getCommentCount() {
            return commentCount;
        }

        public void setCommentCount(int commentCount) {
            this.commentCount = commentCount;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public String getHref() {
            return href;
        }

        public void setHref(String href) {
            this.href = href;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getLikeCount() {
            return likeCount;
        }

        public void setLikeCount(int likeCount) {
            this.likeCount = likeCount;
        }

        public boolean isLiked() {
            return liked;
        }

        public void setLiked(boolean liked) {
            this.liked = liked;
        }

        public String getPubDate() {
            return pubDate;
        }

        public void setPubDate(String pubDate) {
            this.pubDate = pubDate;
        }

        public StatisticsBean getStatistics() {
            return statistics;
        }

        public void setStatistics(StatisticsBean statistics) {
            this.statistics = statistics;
        }

        public static class AuthorBean {
            /**
             * id : 3226664
             * name : ocq_elf
             * portrait : https://static.oschina.net/uploads/user/1613/3226664_50.jpeg?t=1484625198000
             * relation : 0
             */

            private int id;
            private String name;
            private String portrait;
            private int relation;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getPortrait() {
                return portrait;
            }

            public void setPortrait(String portrait) {
                this.portrait = portrait;
            }

            public int getRelation() {
                return relation;
            }

            public void setRelation(int relation) {
                this.relation = relation;
            }
        }

        public static class StatisticsBean {
            /**
             * comment : 0
             * like : 0
             * transmit : 0
             * view : 0
             */

            private int comment;
            private int like;
            private int transmit;
            private int view;

            public int getComment() {
                return comment;
            }

            public void setComment(int comment) {
                this.comment = comment;
            }

            public int getLike() {
                return like;
            }

            public void setLike(int like) {
                this.like = like;
            }

            public int getTransmit() {
                return transmit;
            }

            public void setTransmit(int transmit) {
                this.transmit = transmit;
            }

            public int getView() {
                return view;
            }

            public void setView(int view) {
                this.view = view;
            }
        }
    }
}
